<template>
 <div>
   <div class="bgColor flex align-center justify-between px-20">
    <p class="fc-white f16">苏苏生鲜后台管理系统</p>
    <div>
      <div class="f14 fc-white"><Icon type="ios-person-outline"></Icon> {{ userInfo.username }}</div>
    </div>
   </div>
 </div>
</template>
<script>
export default {
  data () {
    return {
      userInfo: {}
    }
  },
  created() {
    this.userInfo = JSON.parse(localStorage.getItem('userInfo'))
  },
  mounted() {

  },
  methods: {

  },
}
</script>
<style lang='less' scoped>
  .bgColor{
    width: 100%;
    height: 60px;
    background:rgba(1, 1, 44,0.8);
  }

</style>